MultiSafepay\WooCommerce\PaymentMethods\PaymentMethodsController S

Total Complexity 44
Dependencies 10
Dependents 1
Total lines 271
Lines of code 146
Logical lines of code 89
Comment lines 98
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
deprecated_callback()
S
60 6 11
generate_orders_from_backend()
S
51 5 25
filter_gateway_per_country()
S
63 6 9
filter_gateway_per_min_amount()
S
64 5 9
callback()
S
63 4 9
process_post_notification()
S
57 2 16
multisafepay_transaction_order_id()
S
66 3 9
allow_cancel_multisafepay_orders_with_on_hold_status()
S
63 3 10
enqueue_styles()
S
72 2 5
set_multisafepay_transaction_as_shipped()
S
63 2 10
set_multisafepay_transaction_as_invoiced()
S
63 2 10
replace_checkout_payment_url()
S
68 2 7
multisafepay_register_rest_route()
S
62 1 13
get_gateways()
S
79 1 3